package com.stone.schedule.action;

import com.stone.schedule.facade.request.TestQuery;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by stone on 2017/8/31.
 */
@RestController
public class TestAction {

	@GetMapping("/")
	public String test(TestQuery query){
		query.valid();
		return "hello";
	}
}
